/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.modules.admin.entity.WxFaultCause;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;

import java.util.List;

/**
 * 维修原因表视图实体类
 *
 * @author ysq
 * @since 2025-06-27
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class WxFaultCauseVO  {

	@ApiModelProperty("故障原因id")
	private String id;

	@ApiModelProperty("故障原因名称")
	private String name;

	@ApiModelProperty("排序")
	private Integer sort;

	@ApiModelProperty("其它-描述")
	private String otherDesc;

	@ApiModelProperty(value = "是否其它类型1:是0:非")
	private Integer isOther;

	@ApiModelProperty("故障责任列表")
	private List<WxFaultTypeVO> wxFaultTypeList;

	@ApiModelProperty("二级故障原因")
	private List<WxFaultCauseVO> childList;
}
